package com.ruoyi.business.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 气象信息对象 bus_yjhz_wea
 *
 * @author ruoyi
 * @date 2023-08-01
 */
public class BusYjhzWea extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 温度 */
    @Excel(name = "温度")
    private BigDecimal temprature;

    /** 湿度 */
    @Excel(name = "湿度")
    private BigDecimal humidity;

    /** CO2 */
    @Excel(name = "CO2")
    private BigDecimal co2;

    /** PH */
    @Excel(name = "PH")
    private BigDecimal ph;

    /** 时间 */
    @Excel(name = "时间")
    private Long time;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setTemprature(BigDecimal temprature)
    {
        this.temprature = temprature;
    }

    public BigDecimal getTemprature()
    {
        return temprature;
    }
    public void setHumidity(BigDecimal humidity)
    {
        this.humidity = humidity;
    }

    public BigDecimal getHumidity()
    {
        return humidity;
    }
    public void setCo2(BigDecimal co2)
    {
        this.co2 = co2;
    }

    public BigDecimal getCo2()
    {
        return co2;
    }
    public void setPh(BigDecimal ph)
    {
        this.ph = ph;
    }

    public BigDecimal getPh()
    {
        return ph;
    }
    public void setTime(Long time)
    {
        this.time = time;
    }

    public Long getTime()
    {
        return time;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("temprature", getTemprature())
                .append("humidity", getHumidity())
                .append("co2", getCo2())
                .append("ph", getPh())
                .append("time", getTime())
                .toString();
    }
}
